﻿namespace AY38910
{
    public enum Registers
    {
        /// <summary>Register 0</summary>
        ChannelAFrequencyFine = 0,

        /// <summary>Register 1, 4-bit value</summary>
        ChannelAFrequencyCourse = 1,

        /// <summary>Register 2</summary>
        ChannelBFrequencyFine = 2,

        /// <summary>Register 3, 4-bit value</summary>
        ChannelBFrequencyCourse = 3,

        /// <summary>Register 4</summary>
        ChannelCFrequencyFine = 4,

        /// <summary>Register 5, 4-bit value</summary>
        ChannelCFrequencyCourse = 5,

        /// <summary>Register 6</summary>
        NoisePeriod = 6,

        /// <summary>Register 7</summary>
        VoiceEnable = 7,

        /// <summary>Register 8</summary>
        ChannelAVolume = 8,

        /// <summary>Register 9</summary>
        ChannelBVolume = 9,

        /// <summary>Register 10</summary>
        ChannelCVolume = 10,

        /// <summary>Register 11</summary>
        EnvelopePeriodFine = 11,

        /// <summary>Register 12</summary>
        EnvelopePeriodCourse = 12,

        /// <summary>Register 13</summary>
        EnveloperShapeCycle = 13,

        /// <summary>Register 14</summary>
        IoPortA = 14,

        /// <summary>Register 15</summary>
        IoPortB = 15
    }
}
